<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.sz.pojo.*" pageEncoding="UTF-8"%>
<%
	HttpServletRequest r = request;
	String path = r.getContextPath();
	String basePath = r.getScheme() + "://" + r.getServerName() + ":" + r.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<hr>
	<p>登录成功</p>
	<span><%=((User) session.getAttribute("user")).getUname()%></span>
	<span>,你好</span>
	<a href="user?oper=out">退出</a>
	<br />
	<p><a href="main/userInfo.jsp">查看个人信息</a></p>
	<p><a href="user?oper=showUser">查看使用用户信息</a></p>
	<p><a href="main/pwd.jsp">修改密码</a></p>


	</script>
</body>
</html>